// JavaScript Document
function closeit()
{
	$('service_online').style.display='none';	
}

function move_qq(){
	var obj = jq("#qqlist");
	obj.stop();
	var h_top = 170;
	//var h_end = jq("div#footer").scrollTop();
	var heights=jq(window).scrollTop()+(jq(window).height()/2)-(obj.height()/2);
	if(heights<h_top) heights = h_top;
	obj.animate({"top":heights},600,"swing");

}
jq(function() {
    move_qq();
    jq(window).scroll(move_qq);
    jq(window).resize(move_qq);
    jq("#but").hover(function() {
        jq("#but").animate({right: '-27px'},"slow");
        jq("#con").animate({right: '0px'},"slow")
	},
    function() {});
    jq("#con").hover(function() {},
    function() {
		jq("#but").animate({right: '0px'},"slow");
        jq("#con").animate({right: '-110px'},"slow")
    })
});